keep a reference to the source buffer while the clipboard contents buffer
authorMichael Natterer <mitch@imendio.com>
Fri, 28 Apr 2006 12:13:04 +0000 (12:13 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Fri, 28 Apr 2006 12:13:04 +0000 (12:13 +0000)
commit7e15674cd9909e1b3e73e0c53f9978e5eaaef0ca
treef33fd8da7b67b58d5e5cc6cb3b1ce580ba28611c
parent543f6cbbe6b5b33affe65f4939811e74f150bb0c
keep a reference to the source buffer while the clipboard contents buffer

2006-04-28  Michael Natterer  <mitch@imendio.com>

* gtk/gtktextbuffer.c (create_clipboard_contents_buffer): keep a
reference to the source buffer while the clipboard contents buffer
exists, because it is needed for serializing the contents buffer.
Makes copying from the contents buffer possible even after the
resp. text view is destroyed (for example when there is a
clipboard manager running on app exit) (bug #339195).
ChangeLog
ChangeLog.pre-2-10
gtk/gtktextbuffer.c